package com.woniuxy.dto.commonDto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 分页公共类
 */
@Data
public class PageDto {
    @ApiModelProperty(value = "当前页码")
    private Long indexPage;
    @ApiModelProperty(value = "一共有多少条数据")
    private Long total;
    @ApiModelProperty(value = "是否有上一页")
    private boolean hasPrevious;
    @ApiModelProperty(value = "是否有下一页")
    private boolean hasNext;
}
